#! /usr/bin/env python
#coding:utf-8

import os,time

while True:

    try:
        a=os.popen('curl -I -s  http://test.grandes.com.cn/100k.tar.gz')
        print a.readline().strip('\n')
    except:
        print "false..."
        continue

    print "hello"
    time.sleep(1)
    a.close()


#print a.readline().rstrip('\n')

